package gui.client.screens;

import java.awt.GridBagLayout;
import javax.swing.JPanel;
import java.awt.Dimension;
import gui.client.panels.JWelcomePanel;
import java.awt.Rectangle;
import gui.client.panels.JCustomersBarPanel;
import gui.client.panels.JCatalogCategoryPanel;

public class JCustomersScreenPanel extends JPanel {

	private static final long serialVersionUID = 1L;
	private JWelcomePanel welcomeWelcomePanel = null;
	private JCustomersBarPanel customerToolBarCustomersBarPanel = null;
	private JCatalogCategoryPanel customersCatalogCategoryPanel = null;

	/**
	 * This is the default constructor
	 */
	public JCustomersScreenPanel() {
		super();
		initialize();
	}

	/**
	 * This method initializes this
	 * 
	 * @return void
	 */
	private void initialize() {
		this.setSize(829, 626);
		this.setLayout(null);
		this.add(getWelcomeWelcomePanel(), null);
		this.add(getCustomerToolBarCustomersBarPanel(), null);
		this.add(getCustomersCatalogCategoryPanel(), null);
	}

	/**
	 * This method initializes welcomeWelcomePanel	
	 * 	
	 * @return gui.client.panels.JWelcomePanel	
	 */
	private JWelcomePanel getWelcomeWelcomePanel() {
		if (welcomeWelcomePanel == null) {
			welcomeWelcomePanel = new JWelcomePanel();
			welcomeWelcomePanel.setBounds(new Rectangle(1, 1, 828, 109));
		}
		return welcomeWelcomePanel;
	}

	/**
	 * This method initializes customerToolBarCustomersBarPanel	
	 * 	
	 * @return gui.client.panels.JCustomersBarPanel	
	 */
	private JCustomersBarPanel getCustomerToolBarCustomersBarPanel() {
		if (customerToolBarCustomersBarPanel == null) {
			customerToolBarCustomersBarPanel = new JCustomersBarPanel();
			customerToolBarCustomersBarPanel.setBounds(new Rectangle(2, 110, 827, 39));
		}
		return customerToolBarCustomersBarPanel;
	}

	/**
	 * This method initializes customersCatalogCategoryPanel	
	 * 	
	 * @return gui.client.panels.JCatalogCategoryPanel	
	 */
	private JCatalogCategoryPanel getCustomersCatalogCategoryPanel() {
		if (customersCatalogCategoryPanel == null) {
			customersCatalogCategoryPanel = new JCatalogCategoryPanel();
			customersCatalogCategoryPanel.setBounds(new Rectangle(5, 149, 211, 474));
		}
		return customersCatalogCategoryPanel;
	}

}  //  @jve:decl-index=0:visual-constraint="10,10"
